Optimal. Leaf size=19 \[ -\frac {\sec ^4(e+f x) \tan (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {4128}
\begin {gather*} -\frac {\tan (e+f x) \sec ^4(e+f x)}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4128
Rubi steps
\begin {align*} \int \sec ^4(e+f x) \left (4-5 \sec ^2(e+f x)\right ) \, dx &=-\frac {\sec ^4(e+f x) \tan (e+f x)}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 19, normalized size = 1.00 \begin {gather*} -\frac {\sec ^4(e+f x) \tan (e+f x)}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(55\) vs.
\(2(19)=38\).
time = 0.40, size = 56, normalized size = 2.95
method | result | size |
risch | \(\frac {16 i \left ({\mathrm e}^{6 i \left (f x +e \right )}-{\mathrm e}^{4 i \left (f x +e \right )}\right )}{f \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{5}}\) | \(41\) |
derivativedivides | \(\frac {-4 \left (-\frac {2}{3}-\frac {\left (\sec ^{2}\left (f x +e \right )\right )}{3}\right ) \tan \left (f x +e \right )+5 \left (-\frac {8}{15}-\frac {\left (\sec ^{4}\left (f x +e \right )\right )}{5}-\frac {4 \left (\sec ^{2}\left (f x +e \right )\right )}{15}\right ) \tan \left (f x +e \right )}{f}\) | \(56\) |
default | \(\frac {-4 \left (-\frac {2}{3}-\frac {\left (\sec ^{2}\left (f x +e \right )\right )}{3}\right ) \tan \left (f x +e \right )+5 \left (-\frac {8}{15}-\frac {\left (\sec ^{4}\left (f x +e \right )\right )}{5}-\frac {4 \left (\sec ^{2}\left (f x +e \right )\right )}{15}\right ) \tan \left (f x +e \right )}{f}\) | \(56\) |
norman | \(\frac {\frac {2 \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{f}+\frac {8 \left (\tan ^{3}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f}+\frac {12 \left (\tan ^{5}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f}+\frac {8 \left (\tan ^{7}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f}+\frac {2 \left (\tan ^{9}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f}}{\left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )-1\right )^{5}}\) | \(96\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 33, normalized size = 1.74 \begin {gather*} -\frac {\tan \left (f x + e\right )^{5} + 2 \, \tan \left (f x + e\right )^{3} + \tan \left (f x + e\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.03, size = 21, normalized size = 1.11 \begin {gather*} -\frac {\sin \left (f x + e\right )}{f \cos \left (f x + e\right )^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \left (- 4 \sec ^{4}{\left (e + f x \right )}\right )\, dx - \int 5 \sec ^{6}{\left (e + f x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.47, size = 30, normalized size = 1.58 \begin {gather*} -\frac {\tan \left (f x + e\right )^{5} + 2 \, \tan \left (f x + e\right )^{3} + \tan \left (f x + e\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.39, size = 19, normalized size = 1.00 \begin {gather*} -\frac {\sin \left (e+f\,x\right )}{f\,{\cos \left (e+f\,x\right )}^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________